package com.tfj.wxapi;

import com.alibaba.fastjson.JSONObject;
import com.tfj.mvp.base.IBasePresenter;
import com.tfj.mvp.base.IBaseView;


/**
 * Created by HuangQiang on 2017/12/21.
 *
 * @author HuangQiang
 * @github https://github.com/LiangLuDev
 */

public interface CWeChat {

    interface IPWeChat extends IBasePresenter {
        void wechat_login(String code);
        void bindPhone(String type, String phone, String password, String yzm, String code);
    }

    interface IVWeChat extends IBaseView {
        void callBackLoginWechat(int code, JSONObject jsonObject, String message);
        void callBackBind(int code, JSONObject jsonObject, String message);
    }
}